<?php


namespace App\Remote\Rms;

use GuzzleHttp\Exception\GuzzleException;
use Symfony\Component\HttpFoundation\Request as RequestAlias;

class RmsSmsRemote extends BaseRmsRemote
{

    /**
     * 校验验证码--kms手机号登录-审核用
     * @param string $mobile
     * @param string $code
     * @return mixed|void
     * @throws GuzzleException
     */
    public static function verifyCodeByMobile(string $mobile, string $code)
    {
        return self::customCacheRequest(
            "api/internal/openShop/verifyCode",
            RequestAlias::METHOD_POST,
            [
                "mobile" => $mobile,
                "code"   => $code,
            ]
        );
    }


}
